<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page session="true" %>
<%
    session.setAttribute("user", "IT_Jay");
%>
<html>
<head>
    <title>session隐含对象的使用</title>
</head>
<body>
您的会话ID是：<%=session.getId()%><br>
session对象中存放的变量user的值为：<%=session.getAttribute("user")%>
</body>
</html>
